/* 
 * File:   IF.h
 * Author: Saulo
 *
 * Created on 23 de Maio de 2010, 21:33
 */

#ifndef _IF_H
#define	_IF_H

#include "memoria.h"
#include <string>
#include <iostream>
#include <vector>

using namespace std;

class IF {
public:
    IF(memoria* _mem);
    IF(const IF& orig);
    virtual ~IF();
    void escolhe();
    void setPC(int pc);
    int getPC();
    string getBuffer();
private:
    memoria* mem;
    string buffer;
    int pc;

};

#endif	/* _IF_H */

